Chair of Software Engineering at ETH Zurich , Switzerland Software verification course –

نویسندگان

  • Bertrand Meyer
  • Carlo A. Furia
  • Sebastian Nanz
چکیده

environment assigning intervals to program variables. Writing X = {x1 ← �1� � � � � x� ← ��} for the function X mapping x� to �� such that X (x�) = ��, � = 1� � � � � �, the interval invariance equations would be 4 One of the 64 bits is used for garbage collection. 12 P. C�����   X1 = {x ← [min_int� max_int]} X2 = {x ← [1� 1] � L X3(x) = ∅ ? ∅ : let [�� �] = X3(x) in [min(� + 1� max_int)�min(� + 1� max_int)] M} X3 = X2 �̇ {x ← [min_int� max_int]} X4 = X2 �̇ {x ← ∅} where the abstract operations are extended pointwise such as {x1 ← �1, . . . , x� ← ��} �̇ {x1 ← � � 1, . . . , x� ← � � �} � {x1 ← �1 � � � 1, . . . , x� ← �� � � � �}. Since our example has only one variable, this boils down to using the interval abstract domain (and leaving implicit the variable name x). Then we have to encode an abstract domain for representing abstract invariants�X1� X2� X3� X4� which attach to each program point � an abstract local invariant X � which holds whenever controls reaches program point �. Each abstract local invariant X � is represented by an abstract environment (abstract intervals in our simplified case). The encoding is very simple as a 4-tuple specifying the value of program variable x at each program point (1, 2, 3, 4). We essentially have to represent the logical structure, which boils down to • the partial order �̇ (pless), encoding logical implication ⇒ in the abstract; • �̇ (pgreater), the inverse implication (⇐); • the pointwise infimum (∅)4 (pbot), encoding false, • the pointwise meet (for later use in section 3.9), and • the printing of local abstract invariants attached to program points (pprint). (* invariant .ml , interval invariant abstract domain *) open Interval type invariant = interval * interval * interval * interval ;; let cless (x1 ,x2 ,x3 ,x4) (x ’1 ,x ’2,x ’3 ,x ’4) = ( less x1 x ’1 , less x2 x ’2 , less x3 x ’3 , less x4 x ’4);; let pless x x’ = let (b1 , b2 , b3 , b4) = cless x x’ in b1 && b2 && b3 && b4 ;; let pgreater x x’ = pless x’ x;; let pbot = ( EMPTY , EMPTY , EMPTY , EMPTY );; let pmeet (x1 ,x2 ,x3 ,x4) (x ’1 ,x ’2,x ’3 ,x ’4) = • •

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Fourteen Years of Software Engineering at ETH Zurich

A Chair of Software Engineering existed at ETH Zurich, the Swiss Federal Institute of Technology, from 1 October 2001 to 31 January 2016, under my leadership. Our work, summarized here, covered a wide range of theoretical and practical topics, with object technology in the Eiffel method as the unifying thread1.

متن کامل

Online 'cycle to cycle' optimizing control of Varicol and Simulated Moving Bed (SMB) processes

Moving Bed (SMB) processes Mohammad Amanullah, Cristian Grossmann, , Marco Mazzotti*, Manfred Morari, Massimo Morbidelli 1 Institute of Process Engineering, ETH Zurich, CH-8092 Zurich, Switzerland Automatic Control Laboratory, ETH Zurich, CH-8092 Zurich, Switzerland 3 Institute for Chemical and Bio-Engineering, ETH Zurich, CH-8093, Switzerland * Corresponding author: [email protected]...

متن کامل

Inheritance patterns in citation networks reveal scientific memes

Tobias Kuhn,1, ∗ Matjaž Perc,2, 3 and Dirk Helbing1, 4 Chair of Sociology, in particular of Modeling and Simulation, ETH Zurich, 8092 Zurich, Switzerland Faculty of Natural Sciences and Mathematics, University of Maribor, Koroška cesta 160, SI-2000 Maribor, Slovenia CAMTP – Center for Applied Mathematics and Theoretical Physics, University of Maribor, Krekova 2, SI-2000 Maribor, Slovenia Risk C...

متن کامل

Crystallization of 8mol% yttria-stabilized zirconia thin-films deposited by RF-sputtering

a Laboratory for Development and Methods, Paul Scherrer Institut, 5232 Villigen-PSI, Switzerland b General Energy Research Department, Paul Scherrer Institut, 5232 Villigen-PSI, Switzerland c Massachusetts Institute of Technology (MIT), Department of Materials Science and Engineering and Department of Nuclear Science and Engineering, 77 Massachusetts Ave, Cambridge, MA 02139, USA d Electron Mic...

متن کامل

Multimodal Pet-mrs Investigation of Glutamate-dependent Neuroreceptor Plasticity in the Healthy Human Brain

MULTIMODAL PET-MRS INVESTIGATION OF GLUTAMATE-DEPENDENT NEURORECEPTOR PLASTICITY IN THE HEALTHY HUMAN BRAIN Milan Scheidegger, Alexander Fuchs, Simon Ametamey, Felix Kuhn, Anass Johayem, Alfred Buck, Erich Seifritz, and Anke Henning Institute for Biomedical Engineering, University and ETH Zurich, Zurich, Switzerland, Department of Psychiatry, Psychotherapy, and Psychosomatics, University Hospit...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009